package com.yjps.house.model;

import com.yjps.common.dao.BaseDao;
import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="t_shop_apply_history")
public class ShopApplyHistory extends BaseModel{

    //处理人id（门店经理）
    @Column(name = "apply_user",length =11,nullable = false)
    private int applyUserId;

    //申请理由
    @Column(name = "apply_reason",length =100,nullable = false)
    private String applyReason;

    //申请时间
    @Column(name = "apply_time",length =20 ,nullable = false)
    private String time;

    //处理时间
    @Column(name = "apply_hanlder_time",length =20 )
    private String handleTime;

    //处理结果
    @Column(name = "apply_hanlder_result",length =1)
    private int handleResult;

    //处理人id（系统管理员）
    @Column(name = "apply_hanlder_user",length =11)
    private int handleUserId;

    //门店id
    @Column(name = "shop_id",length =11,nullable = false)
    private int shopId;

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public String getApplyReason() {
        return applyReason;
    }

    public void setApplyReason(String applyReason) {
        this.applyReason = applyReason;
    }

    public int getHandleResult() {
        return handleResult;
    }

    public void setHandleResult(int handleResult) {
        this.handleResult = handleResult;
    }

    public int getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(int applyUserId) {
        this.applyUserId = applyUserId;
    }

    public String getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(String handleTime) {
        this.handleTime = handleTime;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getHandleUserId() {
        return handleUserId;
    }

    public void setHandleUserId(int handleUserId) {
        this.handleUserId = handleUserId;
    }
}
